Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
»

infix |>

infix |>

(A 
type
, R 
type
, a A, f Unary R A)
 => 
R
[Contains abstract features]
infix |> -- pipe with one argument

This allows changing the order of function application: instead of

l := sum ([1,2,3,4].map **2)

you can write

l := [1,2,3,4].map **2 |> sum

which often correponds more naturally to the data flow through the code.

Type Parameters

0.094dev (2025-06-18 15:08:51 GIT hash 89cffc23ae669b0898a5564fefbf793fcb8e5ca7 built by fridi@fzen)